import request from '@/utils/request'

// 查询开发商列表
export function listManage_developer(query) {
  return request({
    url: '/manage/manage_developer/list',
    method: 'get',
    params: query
  })
}

// 查询开发商详细
export function getManage_developer(developerId) {
  return request({
    url: '/manage/manage_developer/' + developerId,
    method: 'get'
  })
}

// 新增开发商
export function addManage_developer(data) {
  return request({
    url: '/manage/manage_developer',
    method: 'post',
    data: data
  })
}

// 修改开发商
export function updateManage_developer(data) {
  return request({
    url: '/manage/manage_developer',
    method: 'put',
    data: data
  })
}

// 删除开发商
export function delManage_developer(developerId) {
  return request({
    url: '/manage/manage_developer/' + developerId,
    method: 'delete'
  })
}
